import React from 'react'
import ReactEcharts from "echarts-for-react";
export default function index(props) {
    let dt = props.data
    let option = {
        legend: {},
        tooltip: {
            trigger: 'axis'
        },
        yAxis: {
            type: 'value'
        },
        xAxis: dt.xAxis,

        series: dt.series
    }
    return <ReactEcharts option={option} />
}